Optimal. Leaf size=369 \[ \frac {8 a^2 \sqrt {e x} (195 A+77 B x) \sqrt {a+c x^2}}{3003 e}+\frac {16 a^3 B x \sqrt {a+c x^2}}{39 \sqrt {c} \sqrt {e x} \left (\sqrt {a}+\sqrt {c} x\right )}+\frac {20 a \sqrt {e x} (117 A+77 B x) \left (a+c x^2\right )^{3/2}}{9009 e}+\frac {2 \sqrt {e x} (13 A+11 B x) \left (a+c x^2\right )^{5/2}}{143 e}-\frac {16 a^{13/4} B \sqrt {x} \left (\sqrt {a}+\sqrt {c} x\right ) \sqrt {\frac {a+c x^2}{\left (\sqrt {a}+\sqrt {c} x\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} \sqrt {x}}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{39 c^{3/4} \sqrt {e x} \sqrt {a+c x^2}}+\frac {8 a^{11/4} \left (77 \sqrt {a} B+195 A \sqrt {c}\right ) \sqrt {x} \left (\sqrt {a}+\sqrt {c} x\right ) \sqrt {\frac {a+c x^2}{\left (\sqrt {a}+\sqrt {c} x\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} \sqrt {x}}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{3003 c^{3/4} \sqrt {e x} \sqrt {a+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.28, antiderivative size = 369, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {829, 856, 854,
1212, 226, 1210} \begin {gather*} \frac {8 a^{11/4} \sqrt {x} \left (\sqrt {a}+\sqrt {c} x\right ) \sqrt {\frac {a+c x^2}{\left (\sqrt {a}+\sqrt {c} x\right )^2}} \left (77 \sqrt {a} B+195 A \sqrt {c}\right ) F\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{c} \sqrt {x}}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{3003 c^{3/4} \sqrt {e x} \sqrt {a+c x^2}}-\frac {16 a^{13/4} B \sqrt {x} \left (\sqrt {a}+\sqrt {c} x\right ) \sqrt {\frac {a+c x^2}{\left (\sqrt {a}+\sqrt {c} x\right )^2}} E\left (2 \text {ArcTan}\left (\frac {\sqrt [4]{c} \sqrt {x}}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{39 c^{3/4} \sqrt {e x} \sqrt {a+c x^2}}+\frac {16 a^3 B x \sqrt {a+c x^2}}{39 \sqrt {c} \sqrt {e x} \left (\sqrt {a}+\sqrt {c} x\right )}+\frac {8 a^2 \sqrt {e x} \sqrt {a+c x^2} (195 A+77 B x)}{3003 e}+\frac {20 a \sqrt {e x} \left (a+c x^2\right )^{3/2} (117 A+77 B x)}{9009 e}+\frac {2 \sqrt {e x} \left (a+c x^2\right )^{5/2} (13 A+11 B x)}{143 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 226
Rule 829
Rule 854
Rule 856
Rule 1210
Rule 1212
Rubi steps
\begin {align*} \int \frac {(A+B x) \left (a+c x^2\right )^{5/2}}{\sqrt {e x}} \, dx &=\frac {2 \sqrt {e x} (13 A+11 B x) \left (a+c x^2\right )^{5/2}}{143 e}+\frac {20 \int \frac {\left (\frac {13}{2} a A c e^2+\frac {11}{2} a B c e^2 x\right ) \left (a+c x^2\right )^{3/2}}{\sqrt {e x}} \, dx}{143 c e^2}\\ &=\frac {20 a \sqrt {e x} (117 A+77 B x) \left (a+c x^2\right )^{3/2}}{9009 e}+\frac {2 \sqrt {e x} (13 A+11 B x) \left (a+c x^2\right )^{5/2}}{143 e}+\frac {80 \int \frac {\left (\frac {117}{4} a^2 A c^2 e^4+\frac {77}{4} a^2 B c^2 e^4 x\right ) \sqrt {a+c x^2}}{\sqrt {e x}} \, dx}{3003 c^2 e^4}\\ &=\frac {8 a^2 \sqrt {e x} (195 A+77 B x) \sqrt {a+c x^2}}{3003 e}+\frac {20 a \sqrt {e x} (117 A+77 B x) \left (a+c x^2\right )^{3/2}}{9009 e}+\frac {2 \sqrt {e x} (13 A+11 B x) \left (a+c x^2\right )^{5/2}}{143 e}+\frac {64 \int \frac {\frac {585}{8} a^3 A c^3 e^6+\frac {231}{8} a^3 B c^3 e^6 x}{\sqrt {e x} \sqrt {a+c x^2}} \, dx}{9009 c^3 e^6}\\ &=\frac {8 a^2 \sqrt {e x} (195 A+77 B x) \sqrt {a+c x^2}}{3003 e}+\frac {20 a \sqrt {e x} (117 A+77 B x) \left (a+c x^2\right )^{3/2}}{9009 e}+\frac {2 \sqrt {e x} (13 A+11 B x) \left (a+c x^2\right )^{5/2}}{143 e}+\frac {\left (64 \sqrt {x}\right ) \int \frac {\frac {585}{8} a^3 A c^3 e^6+\frac {231}{8} a^3 B c^3 e^6 x}{\sqrt {x} \sqrt {a+c x^2}} \, dx}{9009 c^3 e^6 \sqrt {e x}}\\ &=\frac {8 a^2 \sqrt {e x} (195 A+77 B x) \sqrt {a+c x^2}}{3003 e}+\frac {20 a \sqrt {e x} (117 A+77 B x) \left (a+c x^2\right )^{3/2}}{9009 e}+\frac {2 \sqrt {e x} (13 A+11 B x) \left (a+c x^2\right )^{5/2}}{143 e}+\frac {\left (128 \sqrt {x}\right ) \text {Subst}\left (\int \frac {\frac {585}{8} a^3 A c^3 e^6+\frac {231}{8} a^3 B c^3 e^6 x^2}{\sqrt {a+c x^4}} \, dx,x,\sqrt {x}\right )}{9009 c^3 e^6 \sqrt {e x}}\\ &=\frac {8 a^2 \sqrt {e x} (195 A+77 B x) \sqrt {a+c x^2}}{3003 e}+\frac {20 a \sqrt {e x} (117 A+77 B x) \left (a+c x^2\right )^{3/2}}{9009 e}+\frac {2 \sqrt {e x} (13 A+11 B x) \left (a+c x^2\right )^{5/2}}{143 e}-\frac {\left (16 a^{7/2} B \sqrt {x}\right ) \text {Subst}\left (\int \frac {1-\frac {\sqrt {c} x^2}{\sqrt {a}}}{\sqrt {a+c x^4}} \, dx,x,\sqrt {x}\right )}{39 \sqrt {c} \sqrt {e x}}+\frac {\left (16 a^3 \left (77 \sqrt {a} B+195 A \sqrt {c}\right ) \sqrt {x}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a+c x^4}} \, dx,x,\sqrt {x}\right )}{3003 \sqrt {c} \sqrt {e x}}\\ &=\frac {8 a^2 \sqrt {e x} (195 A+77 B x) \sqrt {a+c x^2}}{3003 e}+\frac {16 a^3 B x \sqrt {a+c x^2}}{39 \sqrt {c} \sqrt {e x} \left (\sqrt {a}+\sqrt {c} x\right )}+\frac {20 a \sqrt {e x} (117 A+77 B x) \left (a+c x^2\right )^{3/2}}{9009 e}+\frac {2 \sqrt {e x} (13 A+11 B x) \left (a+c x^2\right )^{5/2}}{143 e}-\frac {16 a^{13/4} B \sqrt {x} \left (\sqrt {a}+\sqrt {c} x\right ) \sqrt {\frac {a+c x^2}{\left (\sqrt {a}+\sqrt {c} x\right )^2}} E\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} \sqrt {x}}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{39 c^{3/4} \sqrt {e x} \sqrt {a+c x^2}}+\frac {8 a^{11/4} \left (77 \sqrt {a} B+195 A \sqrt {c}\right ) \sqrt {x} \left (\sqrt {a}+\sqrt {c} x\right ) \sqrt {\frac {a+c x^2}{\left (\sqrt {a}+\sqrt {c} x\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c} \sqrt {x}}{\sqrt [4]{a}}\right )|\frac {1}{2}\right )}{3003 c^{3/4} \sqrt {e x} \sqrt {a+c x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.03, size = 85, normalized size = 0.23 \begin {gather*} \frac {2 a^2 x \sqrt {a+c x^2} \left (3 A \, _2F_1\left (-\frac {5}{2},\frac {1}{4};\frac {5}{4};-\frac {c x^2}{a}\right )+B x \, _2F_1\left (-\frac {5}{2},\frac {3}{4};\frac {7}{4};-\frac {c x^2}{a}\right )\right )}{3 \sqrt {e x} \sqrt {1+\frac {c x^2}{a}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.59, size = 362, normalized size = 0.98
method | result | size |
default | \(\frac {\frac {2 B \,c^{4} x^{8}}{13}+\frac {2 A \,c^{4} x^{7}}{11}+\frac {74 a B \,c^{3} x^{6}}{117}+\frac {40 A \sqrt {2}\, \sqrt {\frac {c x +\sqrt {-a c}}{\sqrt {-a c}}}\, \sqrt {\frac {-c x +\sqrt {-a c}}{\sqrt {-a c}}}\, \sqrt {-\frac {x c}{\sqrt {-a c}}}\, \EllipticF \left (\sqrt {\frac {c x +\sqrt {-a c}}{\sqrt {-a c}}}, \frac {\sqrt {2}}{2}\right ) \sqrt {-a c}\, a^{3}}{77}+\frac {62 a A \,c^{3} x^{5}}{77}+\frac {16 B \sqrt {2}\, \sqrt {\frac {c x +\sqrt {-a c}}{\sqrt {-a c}}}\, \sqrt {\frac {-c x +\sqrt {-a c}}{\sqrt {-a c}}}\, \sqrt {-\frac {x c}{\sqrt {-a c}}}\, \EllipticE \left (\sqrt {\frac {c x +\sqrt {-a c}}{\sqrt {-a c}}}, \frac {\sqrt {2}}{2}\right ) a^{4}}{39}-\frac {8 B \sqrt {2}\, \sqrt {\frac {c x +\sqrt {-a c}}{\sqrt {-a c}}}\, \sqrt {\frac {-c x +\sqrt {-a c}}{\sqrt {-a c}}}\, \sqrt {-\frac {x c}{\sqrt {-a c}}}\, \EllipticF \left (\sqrt {\frac {c x +\sqrt {-a c}}{\sqrt {-a c}}}, \frac {\sqrt {2}}{2}\right ) a^{4}}{39}+\frac {118 a^{2} B \,c^{2} x^{4}}{117}+\frac {122 a^{2} A \,c^{2} x^{3}}{77}+\frac {62 a^{3} B c \,x^{2}}{117}+\frac {74 a^{3} A c x}{77}}{\sqrt {c \,x^{2}+a}\, c \sqrt {e x}}\) | \(362\) |
risch | \(\frac {2 \left (693 B \,c^{2} x^{5}+819 A \,c^{2} x^{4}+2156 a B c \,x^{3}+2808 a A c \,x^{2}+2387 a^{2} B x +4329 a^{2} A \right ) x \sqrt {c \,x^{2}+a}}{9009 \sqrt {e x}}+\frac {8 a^{3} \left (\frac {77 B \sqrt {-a c}\, \sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}\, \sqrt {-\frac {x c}{\sqrt {-a c}}}\, \left (-\frac {2 \sqrt {-a c}\, \EllipticE \left (\sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}, \frac {\sqrt {2}}{2}\right )}{c}+\frac {\sqrt {-a c}\, \EllipticF \left (\sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}, \frac {\sqrt {2}}{2}\right )}{c}\right )}{c \sqrt {c e \,x^{3}+a e x}}+\frac {195 A \sqrt {-a c}\, \sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}\, \sqrt {-\frac {x c}{\sqrt {-a c}}}\, \EllipticF \left (\sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}, \frac {\sqrt {2}}{2}\right )}{c \sqrt {c e \,x^{3}+a e x}}\right ) \sqrt {\left (c \,x^{2}+a \right ) e x}}{3003 \sqrt {e x}\, \sqrt {c \,x^{2}+a}}\) | \(371\) |
elliptic | \(\frac {\sqrt {\left (c \,x^{2}+a \right ) e x}\, \left (\frac {2 B \,c^{2} x^{5} \sqrt {c e \,x^{3}+a e x}}{13 e}+\frac {2 A \,c^{2} x^{4} \sqrt {c e \,x^{3}+a e x}}{11 e}+\frac {56 B c a \,x^{3} \sqrt {c e \,x^{3}+a e x}}{117 e}+\frac {48 A a c \,x^{2} \sqrt {c e \,x^{3}+a e x}}{77 e}+\frac {62 a^{2} B x \sqrt {c e \,x^{3}+a e x}}{117 e}+\frac {74 a^{2} A \sqrt {c e \,x^{3}+a e x}}{77 e}+\frac {40 A \,a^{3} \sqrt {-a c}\, \sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}\, \sqrt {-\frac {x c}{\sqrt {-a c}}}\, \EllipticF \left (\sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}, \frac {\sqrt {2}}{2}\right )}{77 c \sqrt {c e \,x^{3}+a e x}}+\frac {8 B \,a^{3} \sqrt {-a c}\, \sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}\, \sqrt {-\frac {2 \left (x -\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}\, \sqrt {-\frac {x c}{\sqrt {-a c}}}\, \left (-\frac {2 \sqrt {-a c}\, \EllipticE \left (\sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}, \frac {\sqrt {2}}{2}\right )}{c}+\frac {\sqrt {-a c}\, \EllipticF \left (\sqrt {\frac {\left (x +\frac {\sqrt {-a c}}{c}\right ) c}{\sqrt {-a c}}}, \frac {\sqrt {2}}{2}\right )}{c}\right )}{39 c \sqrt {c e \,x^{3}+a e x}}\right )}{\sqrt {e x}\, \sqrt {c \,x^{2}+a}}\) | \(450\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains higher order function than in optimal. Order 9 vs. order
4.
time = 0.98, size = 119, normalized size = 0.32 \begin {gather*} \frac {2 \, {\left (4680 \, A a^{3} \sqrt {c} {\rm weierstrassPInverse}\left (-\frac {4 \, a}{c}, 0, x\right ) - 1848 \, B a^{3} \sqrt {c} {\rm weierstrassZeta}\left (-\frac {4 \, a}{c}, 0, {\rm weierstrassPInverse}\left (-\frac {4 \, a}{c}, 0, x\right )\right ) + {\left (693 \, B c^{3} x^{5} + 819 \, A c^{3} x^{4} + 2156 \, B a c^{2} x^{3} + 2808 \, A a c^{2} x^{2} + 2387 \, B a^{2} c x + 4329 \, A a^{2} c\right )} \sqrt {c x^{2} + a} \sqrt {x}\right )} e^{\left (-\frac {1}{2}\right )}}{9009 \, c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 10.56, size = 301, normalized size = 0.82 \begin {gather*} \frac {A a^{\frac {5}{2}} \sqrt {x} \Gamma \left (\frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {1}{4} \\ \frac {5}{4} \end {matrix}\middle | {\frac {c x^{2} e^{i \pi }}{a}} \right )}}{2 \sqrt {e} \Gamma \left (\frac {5}{4}\right )} + \frac {A a^{\frac {3}{2}} c x^{\frac {5}{2}} \Gamma \left (\frac {5}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {5}{4} \\ \frac {9}{4} \end {matrix}\middle | {\frac {c x^{2} e^{i \pi }}{a}} \right )}}{\sqrt {e} \Gamma \left (\frac {9}{4}\right )} + \frac {A \sqrt {a} c^{2} x^{\frac {9}{2}} \Gamma \left (\frac {9}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {9}{4} \\ \frac {13}{4} \end {matrix}\middle | {\frac {c x^{2} e^{i \pi }}{a}} \right )}}{2 \sqrt {e} \Gamma \left (\frac {13}{4}\right )} + \frac {B a^{\frac {5}{2}} x^{\frac {3}{2}} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {\frac {c x^{2} e^{i \pi }}{a}} \right )}}{2 \sqrt {e} \Gamma \left (\frac {7}{4}\right )} + \frac {B a^{\frac {3}{2}} c x^{\frac {7}{2}} \Gamma \left (\frac {7}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {7}{4} \\ \frac {11}{4} \end {matrix}\middle | {\frac {c x^{2} e^{i \pi }}{a}} \right )}}{\sqrt {e} \Gamma \left (\frac {11}{4}\right )} + \frac {B \sqrt {a} c^{2} x^{\frac {11}{2}} \Gamma \left (\frac {11}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{2}, \frac {11}{4} \\ \frac {15}{4} \end {matrix}\middle | {\frac {c x^{2} e^{i \pi }}{a}} \right )}}{2 \sqrt {e} \Gamma \left (\frac {15}{4}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (c\,x^2+a\right )}^{5/2}\,\left (A+B\,x\right )}{\sqrt {e\,x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________